home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000114-20000217 / 000092_news@columbia.edu _Wed Jan 19 18:26:22 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA04036
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 19 Jan 2000 18:26:22 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id SAA03335
  7.     for kermit.misc@watsun.cc.columbia.edu; Wed, 19 Jan 2000 18:16:40 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: gerlach@netcom.com (Matthew H. Gerlach)
  10. Subject: Re: strange behavior of ckermit7 on solaris2.5.1
  11. Date: 19 Jan 2000 23:11:09 GMT
  12. Organization: NETCOM / MindSpring Enterprises, Inc.
  13. Message-ID: <865gad$d56$1@nntp2.atl.mindspring.net>
  14. To: kermit.misc@columbia.edu
  15.  
  16.  
  17. I don't claim to be an expert at this, but looking at the man pages
  18. on my Solaris box, the res_search() function essentially calls the 
  19. DNS stuff directly.  The function, gethostbyname(), is a more appropriate
  20. higher level function.  gethostbyname() will get the info based
  21. on the "hosts" entry in /etc/nsswitch.conf.  This entry allows one to 
  22. specify, files, nis, nisplus, and/or dns to resolve names.
  23. It would be interesting for the original poster to show us their 
  24. /etc/nsswitch.conf file to confirm or deny my theory to the problem.
  25.  
  26. Matthew
  27.  
  28.  
  29. In article <865buj$s5e$1@newsmaster.cc.columbia.edu>,
  30. Jeffrey Altman <jaltman@watsun.cc.columbia.edu> wrote:
  31. >In article <8658gj$bjt$1@nntp9.atl.mindspring.net>,
  32. >Matthew H. Gerlach <gerlach@netcom.com> wrote:
  33. >: 
  34. >: Depending on the Solaris environment, the machines may not have been
  35. >: installed with DNS at all.  They maybe using NIS+ for all name resolution,
  36. >: and the NIS+ server would be the only one with the DNS libararyies installed.
  37. >: 
  38. >: Matthew
  39. >
  40. >IN those environments how does an applicationperform the equivalent
  41. >of the res_search() resolv library call?
  42. >
  43. >In the meantime, C-Kermit 7.0 can be compiled with -DNO_DNS_SRV to
  44. >avoid the calls to res_search().
  45. >
  46. >
  47. >    Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
  48. >                 The Kermit Project * Columbia University
  49. >              612 West 115th St #716 * New York, NY * 10025
  50. >  http://www.kermit-project.org/k95.html * kermit-support@kermit-project.org
  51.  
  52.